[#import "/framework/JGP.htm"  as JGP]
<!--
项目   jgp-cloud-parent
作者   LOUFEI [Gavin]
时间   2018/10/24
-->
[@JGP.head "支付管理"/]
[@JGP.body]
[#--appId:2016080100138153
网关:https://openapi.alipaydev.com/gateway.do
支付宝公钥:
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6IKxckb2oVXtUd3Et7o9rDqjYiI85jedn5ukjRLqcD3vwIlx1f1LI2kLJcUJZ2LuDkNFyHDd9mg+CchmSF4SGeUYSAFGSfbx/deMBTR2d7+V+1pNUTsgwDVWFtN+4i4ESK2gLXgaqe2iEzx6nEYdIquRgubTEpLYmqObjeEg7JF5kj0rScINCTBI5go+SMhX9Wd2MK5YKLk+UjHY9YQvMvRF6OD43/Gj3qD6q2/5zPqYNHAvGY9JDG31euCl9yxste6gYcjiCudrxEGHalmnYo083wNgonVUByf1bJ3Fof7Ux07cAxYIXANSHRswmAjc35eojRJkMbV+5G+x7oRWCwIDAQAB


商家信息

商家账号chbpnn8654@sandbox.com
商户UID2088102169392654
登录密码111111
账户余额
0.00充值

买家信息

买家账号giiqqa4644@sandbox.com
登录密码111111
支付密码111111
用户名称沙箱环境
证件类型身份证(IDENTITY_CARD)
证件号码357103192906022020
账户余额
99999.00充值--]
    <jgp-div _row="['30','*','*']" _runit="px">
        <div slot="1-1">
            <jgp-btn _type="open" _fn="openCallbackFn"
                     _action="{'url':'/third/pay/paymentConfigController/addPaymentConfig'}">添加支付配置
            </jgp-btn>
        </div>
        <jgp-grid slot="2-1" _url="/third/pay/paymentConfigApiController/queryAllPayments"
                  _record_tools="[{'icon':'edit','fn':'editFn','title':'编辑'}]"></jgp-grid>
        <div slot="3-1">
            <jgp-img _src="https://qr.alipay.com/bax052284rujdwiyjrbq00c4"></jgp-img>
        </div>
    </jgp-div>
[/@JGP.body]

[@JGP.foot]
    <script>
        function openCallbackFn(result) {
            if (result&&result.back) {
                location.reload();
            }
        }

        function editFn(param){
            var config = {
                url:'/third/pay/paymentConfigController/editPaymentConfig/'+param.back.record.id,
                callback:function(result){
                    if (result&&result.back) {
                        location.reload();
                    }
                }
            };
            JGP.$dialog(config);
        }
    </script>
[/@JGP.foot]